package com.zxy.ziems.server.energy.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zxy.btp.mybatis.base.BaseEntity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 设备历史测量数据
 * @author 10348359
 * @create 2024-02-28 0:33
 */
@TableName("t_device_measure_data_history")
public class DeviceMeasureDataHistoryEntity extends BaseEntity {

    /** 主键 */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id ;
    /** 设备ID */
    private String deviceId ;
    /** 测量数据类型ID */
    private String dataTypeId ;
    /** 测量值 */
    private BigDecimal measureValue ;
    /** 增量值 */
//    private BigDecimal incrementValue ;
    /** 测量时间 */
    private LocalDateTime measureTime ;
    /** 单位 */
    private String unitId ;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDataTypeId() {
        return dataTypeId;
    }

    public void setDataTypeId(String dataTypeId) {
        this.dataTypeId = dataTypeId;
    }

    public BigDecimal getMeasureValue() {
        return measureValue;
    }

    public void setMeasureValue(BigDecimal measureValue) {
        this.measureValue = measureValue;
    }

    public LocalDateTime getMeasureTime() {
        return measureTime;
    }

    public void setMeasureTime(LocalDateTime measureTime) {
        this.measureTime = measureTime;
    }

    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

//    public BigDecimal getIncrementValue() {
//        return incrementValue;
//    }
//
//    public void setIncrementValue(BigDecimal incrementValue) {
//        this.incrementValue = incrementValue;
//    }
}
